function y=solvef2(x)
y=-exp(-x)+x.^2-2*x+2;